DIRNAME=`dirname $0`
SC_HOME=`cd $DIRNAME; pwd`
FLASH_TRUST=~/.macromedia/Flash_Player/#Security/FlashPlayerTrust
INSTALL_LOG=$SC_HOME/install.log

# Create the FlashTrust directory if it doesn't exist.
echo $FLASH_TRUST
mkdir -vp $FLASH_TRUST >> $INSTALL_LOG

# Add this location to Flash Player trusted locations.
echo $SC_HOME >> $FLASH_TRUST/wsc.cfg
echo "Added the $SC_HOME to Flash Player Trust locations."
echo "Added the $SC_HOME to Flash Player Trust locations." >> $INSTALL_LOG

echo Installation completed successfully. >> $INSTALL_LOG
# Show message that Install is complete.
echo Installed successfully.
